import Vue from 'vue'
import Vuex from 'vuex'
//import storeData
import globalState from './global/state'
import globalGetter from './global/getter'
import globalMutation from './global/mutation'
import globalAction from './global/action'
//import testModuleData
import testModule from './test/testModule'

Vue.use(Vuex)
const isDev = process.env.NODE_ENV === 'development';
export default new Vuex.Store({
    strict: isDev,
    state: globalState,
    getters: globalGetter,
    mutations: globalMutation,
    actions: globalAction,
    modules: {
        test: testModule,
    }
})